package com.jt.www.biz.user_pc.service;

import com.jt.www.domain.dto.IndustryManagerDto;
import com.jt.www.domain.po.IndustryManager;
import com.jt.www.domain.qo.IndustryManagerQo;
import com.jt.www.domain.vo.IndustryManagerVo;
import com.jt.www.model.reps.GenericListResponse;
import org.springframework.http.ResponseEntity;

/**
 * Created by shaoyn on 2020/12/09.
 */
public interface IndustryManagerService {
    /**
     * 添加行管用户的机构名及权限
     *
     * @param findCode
     * @param industryManager
     * @return
     */
    ResponseEntity addIndustryManager(String findCode, IndustryManagerVo industryManager);

    /**
     * 修改行管用户的机构名及权限
     *
     * @param findCode
     * @param industryManager
     * @return
     */
    ResponseEntity updateIndustryManager(String findCode, IndustryManager industryManager);

    /**
     * 查询行管用户列表
     *
     * @param findCode
     * @param industryManagerQo
     * @return
     */
    ResponseEntity<GenericListResponse<IndustryManagerDto>> queryIndustryManager(String findCode, IndustryManagerQo industryManagerQo);

    /**
     * 修改行管用户状态
     *
     * @param findCode
     * @param status
     * @return
     */
    ResponseEntity updateIndustryManagerStatus(String findCode, Long id, Byte status) throws Exception;
}
